package com.heima.article;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 文章模块启动类
 *
 * @author xiaquanen
 * @version 1.0
 * @project heima-leadnews
 * @date 2024/7/18 21:20:48
 */
@SpringBootApplication
@MapperScan("com.heima.article.mapper")
@EnableAsync //开启内置线程池
public class ArticleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class,args);
    }
}
